@echo off

"../ocaxe/bin/caxe.exe" cx-src src
haxe -cp src -main Main -neko bin/caxe.n
if errorlevel 1 goto fail

nekotools boot bin/caxe.n

goto end

:fail

pause
goto end

:end